- this._scrolling no longer exists
- _getBannerAllocation takes a single argument
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2042>
let bannerAllocation = null;
let bannerHeight = 0;
if (this._bannerView.visible) {
- bannerAllocation = this._getBannerAllocation(dialogBox, this._bannerView);
+ bannerAllocation = this._getBannerAllocation(dialogBox);
bannerHeight = bannerAllocation.y2 - bannerAllocation.y1;
}
}
_activeWorkspaceChanged(_wm, _from, _to, _direction) {
- if (this._scrolling)
- return;
-
this._scrollToActive();
}